package com.numbfish.ch03_ex04_module_a_stater.config;

import com.numbfish.ch03_ex04_module_a_stater.pojo.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CustomAutoConfiguration {
    @Bean
    public Person persona(){
        return new Person("曹操",44);
    }
}
